home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 6366 / 6366.xpi / chrome / firegestures.jar / content / firegestures / edit.xul < prev    next >
Extensible Markup Language  |  2009-04-20  |  1KB  |  48 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  4.  
  5. <!DOCTYPE dialog SYSTEM "chrome://firegestures/locale/prefs.dtd">
  6.  
  7. <dialog id="EditUI"
  8.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  9.         title="FireGestures - &editButton.label;"
  10.         buttons="accept,cancel"
  11.         onload="EditUI.init();"
  12.         onunload="EditUI.uninit();"
  13.         ondialogaccept="return EditUI.accept();">
  14.  
  15.     <script type="application/x-javascript" src="chrome://firegestures/content/edit.js" />
  16.  
  17.     <grid flex="1">
  18.         <columns>
  19.             <column />
  20.             <column flex="1" />
  21.         </columns>
  22.         <rows>
  23.             <row align="center">
  24.                 <label value="&treecol.name;:" />
  25.                 <textbox id="gestureName" />
  26.             </row>
  27.             <row align="center">
  28.                 <label value="&treecol.command;:" />
  29.                 <textbox id="gestureCommand" readonly="true" />
  30.             </row>
  31.             <row flex="1">
  32.                 <label value="&treecol.script;:" style="margin-top: 6px;" />
  33.                 <textbox id="gestureScript" multiline="true" rows="8" wrap="off"
  34.                          style="font-family: monospace; font-size: 10pt;" flex="1" />
  35.             </row>
  36.             <row align="center">
  37.                 <label value="&treecol.gesture;:" />
  38.                 <textbox id="gestureDirection"
  39.                          oninput="this.value = this.value.toUpperCase();" />
  40.             </row>
  41.         </rows>
  42.     </grid>
  43.  
  44.     <browser id="drawArea" src="about:blank"
  45.              style="width: 360px; height: 240px; border: 1px solid black; margin-top: 8px; overflow: hidden;" />
  46.  
  47. </dialog>
  48.